

            function addArduinoCod (Blockly) {
            
                        
                        

                        
        Blockly.Arduino['EXT_INFRARED_RECEPTION_BLOCK_1607568699244'] = function(block)
        {
            let pin = this.getFieldValue('pin');
          
            Blockly.Arduino.definitions_['include_EXT_INFRARED_RECEPTION_BLOCK_1607568699244'] = `\n#include "IRremote.h"`;
            Blockly.Arduino.definitions_['define_EXT_INFRARED_RECEPTION_BLOCK_1607568699244'] = `IRremote ir(${pin});`;
            Blockly.Arduino.definitions_['setup_EXT_INFRARED_RECEPTION_BLOCK_1607568699244'] = ``;
             return  [`ir.getCode() != 0`];
        }
                    

                        
        Blockly.Arduino['EXT_INFRARED_RECEPTION_BLOCK_1607568699430'] = function(block)
        {
            
          
            Blockly.Arduino.definitions_['include_EXT_INFRARED_RECEPTION_BLOCK_1607568699430'] = ``;
            Blockly.Arduino.definitions_['define_EXT_INFRARED_RECEPTION_BLOCK_1607568699430'] = ``;
            Blockly.Arduino.definitions_['setup_EXT_INFRARED_RECEPTION_BLOCK_1607568699430'] = `ir.enableIRIn();`;
             return  [`ir.getCode()`];
        }
                    
            return Blockly;
            }

            module.exports = addArduinoCod ;

        